from django.shortcuts import render

from django.http import JsonResponse
from django.views import View


class DataView(View):
    def get(self, request):
        data_dict = {
            'name' : '王泽军'
        }
        return JsonResponse(data_dict)